
import { createApp } from 'vue'
// 1. 导入
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 导入字体图标
import { User, Lock } from '@element-plus/icons-vue'

import App from './App.vue'
const app = createApp(App)

// 注册
app.use(ElementPlus)
// 注册字体图标（全局组件）
app.component(User.name, User)
app.component(Lock.name, Lock)
app.mount('#app')
